package com.aizhixin.lab.resource.repository;


import com.aizhixin.lab.resource.entity.Dir;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface DirRepository  extends JpaRepository<Dir, Long> {
    Dir findByIdAndDeleteFlag(Long id, Integer deleteFlag);
    List<Dir> findByProfIdAndDeleteFlag(Long profId, Integer deleteFlag);

}
